import { baseRequest } from '@/utils/request'
const request = (url, ...arg) => {
    return baseRequest(url, ...arg)
}
export default {
    // 获取近七天的产品录入数量统计
    getTheLastProductAddCntStatistic(data) {
        return request('/GetTheLastProductAddCntStatistic', data, 'post')
    },
    // 获取近七天的产品老化数量统计
    getTheLastProductAgeCntStatistic(data) {
        return request('/GetTheLastProductAgeCntStatistic', data, 'post')
    },
    // 获取最近天数的产品检测数量统计信息
    getTheLastProductCheckCntStatistic(data) {
        return request('/GetTheLastProductCheckCntStatistic', data, 'post')
    },
    //获取最近天数的产品打包数量统计信息
    getTheLastProductPackageCntStatistic(data) {
        return request('/GetTheLastProductPackageCntStatistic', data, 'post')
    },
    // 获取指定日期的一次检测通过率
    getOnePassStatistic(data) {
        return request('/GetCurDayOnePassStatistic', data, 'post')

    },
    // 获取指定日期的产品录入实时记录
    getCurDayProductAddRecord(data) {
        return request('/GetCurDayProductAddRecord', data, 'post')

    },
    //获取指定日期的产品老化实时记录
    getCurDayProductAgeRecord(data) {
        return request('/GetCurDayProductAgeRecord', data, 'post')

    },
    //获取指定日期的产品检测实时记录
    getCurDayProductCheckRecord(data) {
        return request('/GetCurDayProductCheckRecord', data, 'post')

    },
    //获取指定日期的产品打包实时记录
    getCurDayProductPackageRecord(data) {
        return request('/GetCurDayProductPackageRecord', data, 'post')

    },


}